package com.zd.service.impl;

import com.zd.mapper.ProjectTypeMapper;
import com.zd.model.ProjectType;
import com.zd.service.IProjectTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.soap.Addressing;
import java.util.List;

@Service
public class ProjectTypeServiceImpl implements IProjectTypeService {

    @Autowired
    private ProjectTypeMapper projectTypeMapper;

    @Override
    public List<ProjectType> selectProjectTypeInfo() {
        return projectTypeMapper.selectProjectTypeInfo();
    }

    @Override
    public ProjectType selectByPrimaryKey(int id) {
        return projectTypeMapper.selectByPrimaryKey(new Long(id));
    }
}
